﻿#parse("header.html")
    <div id="pageBody">
        <div class="wrap">
            <div id="mainContent">
                <!--
                    <div class="hotnews">
                    <div class="cyj">
                        <ul class="cyjmi">
                            <li><a href="http://www.lanrentuku.com/" target="_blank"><img src="${themepath}images/0.jpg" /></a></li>
                            <li><a href="http://www.lanrentuku.com/" target="_blank"><img src="${themepath}images/1.jpg" /></a></li>
                            <li><a href="http://www.lanrentuku.com/" target="_blank"><img src="${themepath}images/2.jpg" /></a></li>
                            <li><a href="http://www.lanrentuku.com/" target="_blank"><img src="${themepath}images/3.jpg" /></a></li>
                            <li><a href="http://www.lanrentuku.com/" target="_blank"><img src="${themepath}images/4.jpg" /></a></li>
                            <li><a href="http://www.lanrentuku.com/" target="_blank"><img src="${themepath}images/5.jpg" /></a></li>
                            <li><a href="http://www.lanrentuku.com/" target="_blank"><img src="${themepath}images/6.jpg" /></a></li>
                            <li><a href="http://www.lanrentuku.com/" target="_blank"><img src="${themepath}images/7.jpg" /></a></li>
                        </ul>
                        <a class="prev" href="javascript:void(0)"></a>
                        <a class="next" href="javascript:void(0)"></a>
                        <div class="num">
                            <ul></ul>
                        </div>
                    </div>
                </div>
                -->
                
				#foreach($item in $posts)
                <div class="mainNewsBox" style="margin-top:10px;">
                    <h2><a href="${item.url}" id="boxtitle">${item.title}</a><span>$item.createdate.tostring("yyyy")-$item.createdate.tostring("MM")- $item.createdate.tostring("dd")</span></h2>
                    <div class="picandsum">
                        <div class="picandsum_pic">
                             <a href="${item.url}"><img src="${item.ImageUrl}" /></a>
                        </div>
                        <div class="picandsum_sum">
                            <p>${item.detail}……</p>
                        </div>
                    </div>
                    <div class="artTags">
                        <span>Tags:</span>
						#foreach($itemtag in $item.tags)
                        <a href="${itemtag.url}" title="${itemtag.description}">${itemtag.name}</a>
						#end
                        <span class="readMore"><a href="${item.url}">阅读全文</a></span>
                    </div>
                </div>
				#end
				#if($posts.count==0)
                <div class="mainNewsBox">
                    <h2>暂无对应文章</h2>
                </div>
				#end
				${pager}
            </div>
           #parse("rightbar.html")
        </div>
    </div>
#parse("footer.html")
